|
FMI Table
| Kamen Mladenov | FMI Computer Science Year 1 Group 6 | Project 2 | Project Topic 7 |
|
Fully abstract class that represents a cell in the table. More...
#include <Cell.h>
Public Member Functions | |
| virtual double | getNumeralValue () const =0 |
| Returns the value of the cell as a double-precision floating point number. More... | |
| virtual String | getValueForPrint () const =0 |
| Returns the value of the cell as a String. More... | |
| virtual void | parseAndSetValue (const char *str)=0 |
| Parses given C-style string and stores value. More... | |
| virtual void | writeToFile (std::ofstream &file)=0 |
| Writes value to a text file. More... | |
Fully abstract class that represents a cell in the table.
|
pure virtual |
Returns the value of the cell as a double-precision floating point number.
Implemented in CellDouble, CellFormula, CellInt, and CellString.
|
pure virtual |
Returns the value of the cell as a String.
Implemented in CellDouble, CellFormula, CellInt, and CellString.
|
pure virtual |
Parses given C-style string and stores value.
Implemented in CellDouble, CellFormula, CellInt, and CellString.
|
pure virtual |
Writes value to a text file.
Implemented in CellDouble, CellFormula, CellInt, and CellString.